<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib prefix="erp" uri="/erp-tags"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE HTML>
<html>
<head>
<base href="<%=basePath%>">
<link rel="stylesheet"
	href="<%=basePath%>script/jquery-ui-1.10.4/themes/base/jquery.ui.all.css">
<script src="<%=basePath%>script/jquery-ui-1.10.4/jquery-1.10.2.js"></script>
<script src="<%=basePath%>script/jquery-ui-1.10.4/ui/jquery.ui.core.js"></script>
<script
	src="<%=basePath%>script/jquery-ui-1.10.4/ui/jquery.ui.widget.js"></script>
<script
	src="<%=basePath%>script/jquery-ui-1.10.4/ui/jquery.ui.button.js"></script>
<script src="<%=basePath%>script/jquery-ui-1.10.4/ui/jquery.ui.tabs.js"></script>
<script src="<%=basePath%>script/script.js"></script>
<link rel="stylesheet"
	href="<%=basePath%>script/jquery-ui-1.10.4/demos/demos.css">
<link rel="stylesheet" href="<%=basePath%>style/style.css">
<script>
	$(function() {
		init_recycleList_page();
	});
</script>
</head>
<body>
	<div class="center">
		<div class="ui-widget list_container">
			<table class="ui-widget ui-widget-content">
				<thead>
					<tr class="ui-widget-header ">
						<th>所属板块</th>
						<th>标题</th>
						<th>作者</th>
						<th>跟帖数</th>
						<th colspan="2">操作</th>
					</tr>
				</thead>
				<tbody>
					<s:iterator value="#request.topicRecycleList">
						<tr>
							<td>${forum.name}</td>
							<td>${title}</td>
							<td>${author.name}</td>
							<td>${replyCount}</td>
							<td><erp:link url="topic_undelete" value="恢复" params="id"
									attr="class:a_undelete" /></td>
							<td><erp:link url="topic_completelyDelete" value="彻底删除"
									params="id" attr="class:a_completelyDelete" /></td>
						</tr>
					</s:iterator>
				</tbody>
			</table>
		</div>
	</div>
</body>
</html>
